package Solution;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Pupil zhangsan = new Pupil(scanner.nextLine());

    }
}

interface Biology {
    abstract void breathe();
}

interface Animal {
    abstract void eat();
    abstract void sleep();
}

class Person implements Biology, Animal{

    void think () {
        System.out.print("我喜欢思考");
    }

    @Override
    public void breathe() {
        System.out.println("我喜欢呼吸新鲜空气");
    }

    @Override
    public void eat() {
        System.out.println("我会按时吃饭");
    }

    @Override
    public void sleep() {
        System.out.println("早睡早起身体好");
    }
}

class Pupil extends Person {
    public Pupil(String school) {
        this.school = school;
        System.out.println("我的学校是" + school);
        breathe();
        eat();
        sleep();
        think();
    }

    private String school;

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }
}
